home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / usr / lib / pm-utils / sleep.d / 95led < prev    next >
Text File  |  2008-10-15  |  216b  |  16 lines

  1. #!/bin/sh
  2. # IBM specific hook to handle the suspend LED.
  3. # TODO: Merge with 05led.
  4.  
  5. [ -f /proc/acpi/ibm/led ] || exit $NA
  6.  
  7. case "$1" in
  8.     thaw|resume)
  9.         echo "7 blink" >/proc/acpi/ibm/led
  10.         ;;
  11.     *)
  12.         ;;
  13. esac
  14.  
  15. exit $NA
  16.